/**
 * Created by XiongXiang on 2017/9/4.
 */
import React, {Component, PropTypes} from 'react';
import {Router, Route, history} from 'react-router';
import Index from '../Component/Index';

class Roots extends Component {
    render() {
        return (
            <div>Hello React</div>
        )
    }
}

const RouteConfig = (
    <Router history={history}>
        <Route path="/" component={Roots}>
            <IndexRoute component={Index}/>
        </Route>
    </Router>
);

export default RouteConfig;
